#pragma once
#include"char_set_table.h"
#include"test.h"
using namespace TokzrGentr;
using namespace std;

void testing_char_sets_table()
{
	char_sets_table table;
	auto char_set_negetive = std::make_shared<ucs2_ranges_set>(false);
	char_set_negetive->add_range({ u'a',u'z' });
	char_set_negetive->add_range({ u'A',u'Z' });
	table.add(char_set_negetive);
	auto char_set_positive = std::make_shared<ucs2_ranges_set>(true);
	char_set_positive->add_range({ u'a',u'z' });
	char_set_positive->add_range({ u'A',u'Z' });
	table.add(char_set_positive);
	table.construct();
	auto positive_values = table.get(char_set_positive);
	auto negetive_values = table.get(char_set_negetive);
}